package com.hzlx;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.util.Date;

public class WorkOrderDto {
        private static final long serialVersionUID = 1L;

        /** 工单ID */
        private Long id;

        /** 工单号 */
        @Excel(name = "工单号")
        private String orderNumber;

        /** 产品ID */
        @Excel(name = "产品ID")
        private Long productId;

        /** 产品名称 */
        @Excel(name = "产品名称")
        private String productName;

        /** 计划数量 */
        @Excel(name = "计划数量")
        private Long plannedQuantity;

        /** 实际数量 */
        @Excel(name = "实际数量")
        private Long actualQuantity;

        /** 计划开始时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date plannedStartTime;

        /** 计划结束时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "计划结束时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date plannedEndTime;

        /** 实际开始时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date actualStartTime;

        /** 实际结束时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date actualEndTime;

        /** 工单状态：1-创建，2-生产中，3-暂停，4-完成，5-取消 */
        @Excel(name = "工单状态：1-创建，2-生产中，3-暂停，4-完成，5-取消")
        private Integer status;

        /** 优先级：1-高，2-中，3-低 */
        @Excel(name = "优先级：1-高，2-中，3-低")
        private Integer priority;

        /** 车间ID */
        @Excel(name = "车间ID")
        private Long workshopId;

        /** 车间名称 */
        @Excel(name = "车间名称")
        private String workshopName;

        /** 产线ID */
        @Excel(name = "产线ID")
        private Long lineId;

        /** 产线名称 */
        @Excel(name = "产线名称")
        private String lineName;

        public void setId(Long id)
        {
            this.id = id;
        }

        public Long getId()
        {
            return id;
        }

        public void setOrderNumber(String orderNumber)
        {
            this.orderNumber = orderNumber;
        }

        public String getOrderNumber()
        {
            return orderNumber;
        }

        public void setProductId(Long productId)
        {
            this.productId = productId;
        }

        public Long getProductId()
        {
            return productId;
        }

        public void setProductName(String productName)
        {
            this.productName = productName;
        }

        public String getProductName()
        {
            return productName;
        }

        public void setPlannedQuantity(Long plannedQuantity)
        {
            this.plannedQuantity = plannedQuantity;
        }

        public Long getPlannedQuantity()
        {
            return plannedQuantity;
        }

        public void setActualQuantity(Long actualQuantity)
        {
            this.actualQuantity = actualQuantity;
        }

        public Long getActualQuantity()
        {
            return actualQuantity;
        }

        public void setPlannedStartTime(Date plannedStartTime)
        {
            this.plannedStartTime = plannedStartTime;
        }

        public Date getPlannedStartTime()
        {
            return plannedStartTime;
        }

        public void setPlannedEndTime(Date plannedEndTime)
        {
            this.plannedEndTime = plannedEndTime;
        }

        public Date getPlannedEndTime()
        {
            return plannedEndTime;
        }

        public void setActualStartTime(Date actualStartTime)
        {
            this.actualStartTime = actualStartTime;
        }

        public Date getActualStartTime()
        {
            return actualStartTime;
        }

        public void setActualEndTime(Date actualEndTime)
        {
            this.actualEndTime = actualEndTime;
        }

        public Date getActualEndTime()
        {
            return actualEndTime;
        }

        public void setStatus(Integer status)
        {
            this.status = status;
        }

        public Integer getStatus()
        {
            return status;
        }

        public void setPriority(Integer priority)
        {
            this.priority = priority;
        }

        public Integer getPriority()
        {
            return priority;
        }

        public void setWorkshopId(Long workshopId)
        {
            this.workshopId = workshopId;
        }

        public Long getWorkshopId()
        {
            return workshopId;
        }

        public void setWorkshopName(String workshopName)
        {
            this.workshopName = workshopName;
        }

        public String getWorkshopName()
        {
            return workshopName;
        }

        public void setLineId(Long lineId)
        {
            this.lineId = lineId;
        }

        public Long getLineId()
        {
            return lineId;
        }

        public void setLineName(String lineName)
        {
            this.lineName = lineName;
        }

        public String getLineName()
        {
            return lineName;
        }
}
